home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS1097.lzh
/
AMOSLIST
/
000029_amos-request@svcs1.digex.net_Thu Oct 2 22:42:58 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-11-02
|
3KB
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id WAA20082
for <mcox@access.digex.net>; Thu, 2 Oct 1997 22:42:55 -0400 (EDT)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id TAA02130
for amos-out; Thu, 2 Oct 1997 19:48:01 -0400 (EDT)
Received: from mail4.access.digex.net (mail4.access.digex.net [205.197.247.2])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id TAA02127
for <amos-list@svcs1.digex.net>; Thu, 2 Oct 1997 19:48:00 -0400 (EDT)
Received: from punt-1.mail.demon.net (punt-1a.mail.demon.net [194.217.242.134])
by mail4.access.digex.net (8.8.5/8.8.5) with SMTP id TAA22673
for <amos-list@access.digex.net>; Thu, 2 Oct 1997 19:47:58 -0400 (EDT)
Received: from agasinc.demon.co.uk ([193.237.4.98]) by punt-1.mail.demon.net
id ac1107735; 3 Oct 97 0:24 BST
From: Andy Gibson <andy@agasinc.demon.co.uk>
To: mtl.wberg@swipnet.se
CC: Amos List <amos-list@access.digex.net>
Date: Thu, 02 Oct 1997 00:22:02 -0000
Message-ID: <yam7214.111.2289216@post.demon.co.uk>
In-Reply-To: <3432ADAE.5DD4@swipnet.se>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Organization: AGAS Productions
Subject: Re: need help
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by svcs1.digex.net id TAA02128
Status: O
X-Status:
On 01-Oct-97, mtl.wberg@swipnet.se wrote:
>Is it possible to make amos 2 change lines with another assii value than
>then MS-DOS chr$(13)?
Sure is...
>When i read a text file without that i will recive an error mezz
>(input to long),
>Ex
>open in 1,a$
>repeat
>input #1,b$
>until pof(1)=lof(1)
Nah! You don't wanna do it like that!
F$="yourtextfilepath"
BNK=10 : Rem Any Bank
Open in 1,F$
L=Lof(1)
Close 1
Reserve As Data BNK,L
Bload F$,Start(BNK)
ST=Start(BNK)
Do
Exit If ST=>Length(BNK) : Rem I think this may be wrong!!!
A$=Peek$(ST,79,Chr$(10)) : Rem 79 chars and Chr$(10) checked.
Add ST,Len(A$)+1
Print A$
Loop
The above is just from my memory, so it may not be 100%! You can
change the Chr$(10) to Chr$(13) if reading MS-DOS files.
If that's not what your after, I'm sure that the LDos Ext has some
commands to change the EOL character search.
eg.
Lset Eoln 13 : Rem MS-DOS check
or
Lset Eoln 10 : Rem Amiga-DOS check
Check out the LDos dox for more great string handling....
Hope this has helped :)
Andy Gee!
--
_ _ _ _
_)\ ____)\ _)\ _____)\ #cONTACT mE fOR mORE iNFO#
/o� \ /o�____) /o� \ /o�_____) #oN aREA51 rELEASES aLSO.#
// \ // / __ // \\\ \____
/. O \ /. /___\ \ /. O \\____ \ *andy@agasinc.demon.co.uk*
/ _ \/ Y Y \/ _ \ ___\\ \
\ __/ \___/\_________ /\___/ \ __//______/ Team *AMOS*
Y Y Y Y
L8R : � � #cOMING sOON'ish#
. Andy Gibson (AGAS Productons) *Roswell Gfx Adv*
� -=<(aka SKiDZ/A51)>=- 9T7